<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php 
	$tv="select * from du_lieu_mot_tin where id='$_GET[id]'";
	$tv_1=mysql_query($tv);
	$tv_2=mysql_fetch_array($tv_1);
			$ten=$tv_2['ten'];
			$noi_dung=$tv_2['noi_dung'];			
			$menu=$tv_2['ten_menu'];
			$id=$tv_2['id'];
			$noi_dung=str_replace("\n","",$noi_dung);
			$noi_dung=str_replace("\r","",$noi_dung);
			$noi_dung=str_replace("\t","",$noi_dung);
			$noi_dung=str_replace("'","\'",$noi_dung);
?>
//giao dien chinh 
<table width="990px" id="er" style="margin-top:6px" border="1">
	<tr>
		<td align="right">
			<span class="span__16">Sửa Các Thông Tin KM, HD, GT</span>
			<a href="?home" class="nut_dong" style="color:red">
				Đóng
			</a>
		</td>
	</tr>
	<tr>
		<td>
			<form action="" method="post" enctype="multipart/form-data">
				<table width="976px" border="0" id="er_2" style="margin:6px" >
					<tr>
						<td width="150px">
							<b>Menu Chức Năng: </b>
						</td>
						<td>
							<input size="70" name="menu" value="<?php echo $menu;?>">
						</td>
					</tr>
                    <tr>
						<td width="150px">
							<b>Tên:</b>
					  </td>
						<td>
						<input size="70" name="thongtin" value="<?php echo $ten;?>">
						</td>
					</tr>
                    <tr>
						<td colspan="2">
							<center><b>Nội dung</b></center>
							<br>
							<center>
								<script type="text/javascript">
									var oFCKeditor = new FCKeditor('noi_dung') ;
									//FCKeditor.Config['MaxLength'] = 10;
									//oFCKeditor.Config['MaxLength']=10000;
									oFCKeditor.BasePath	= "fckeditor/" ;
									oFCKeditor.Height	= 650 ;
									oFCKeditor.Width	= 960 ;
									oFCKeditor.Value	= '<?php echo $noi_dung;?>' ;
									oFCKeditor.Config["EnterMode"]= "br" ;
									oFCKeditor.Create("") ;
								</script>
							</center>
						</td>
					</tr>                    
					<tr>
						<td>&nbsp;
							
						</td>
						<td>
							<input type="hidden" name="idtt" value="<?php echo $id;?>">
							<input type="hidden" name="sua_thong_tin" value="sua_thong_tin">
							<!--<input type="submit" value="Chấp nhận">-->
							<input type="image" src="hinhanh/sua.gif" style="border:0px solid red">
			
						</td>
					</tr>
				</table>
			</form>
		</td>
	</tr>
</table>
<script>
	table_css_1("er");
	table_css("er_2");
</script>